home *** CD-ROM | disk | FTP | other *** search
- cursor(4)
- updateStage()
- setType()
- if gType = #MAC then
- set the exitLock to 1
- end if
- if the colorDepth <> 8 then
- set the colorDepth to 8
- end if
- if the colorDepth < 8 then
- alert(field "8 Bit Color")
- goQuit()
- return
- end if
- if gType = #PC then
- set dllFile to FileIO(mnew, "read", the pathName & "trsxobj.dll")
- if not objectp(dllFile) then
- alert("DLL file 'TRSXOBJ.DLL' is missing. Please see the Installation Notes for more information.")
- goQuit()
- return
- end if
- dllFile(mdispose)
- openXLib("TRSXOBJ")
- set gXobj to trsxobj(mnew)
- if not objectp(gXobj) then
- alert("Missing DLL: TRSXOBJ.DLL")
- end if
- else
- set gXobj to TRSEncrypt(mnew)
- end if
- initMouseTrap()
- initGlobals()
- if readConfig() then
- set gStuInfo to [#name: "GUEST"]
- readprefs()
- set gFirstScreen to "selectStart"
- else
- set gStuInfo to [#name: EMPTY]
- loadServerLists()
- set gFirstScreen to "login"
- end if
- set the keyDownScript to "handleKey"
- when mouseDown then handleMouse
- put " " into field "PageCatalog"
- set gPerPage to -1
- set didLoad to loadCD()
- cursor(-1)
- if (gFirstScreen = "selectStart") and (gAnnounceText <> EMPTY) then
- set gFirstScreen to "announce screen"
- end if
- if didLoad = 1 then
- go(gFirstScreen)
- end if
-